package com.me.jingdongshop.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.me.common.ui.BaseAdapterRV;
import com.me.common.ui.BaseHolderRV;
import com.me.jingdongshop.model.bean.ProductReviews;
import com.me.jingdongshop.ui.holder.GoodsEvaluateHolder;

import java.util.List;

/**
 * Created by YL on 2017/5/10.
 */
public class GoodsEvaluateAdapter extends BaseAdapterRV<ProductReviews.CommentBean>{
    public GoodsEvaluateAdapter(Context context, List<ProductReviews.CommentBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolderRV<ProductReviews.CommentBean> createViewHolder(Context context, ViewGroup parent, int viewType) {
        return new GoodsEvaluateHolder(context,parent,this,viewType);
    }
}
